<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>hrs</title>
</head>
<body>

<h1>info</h1>
<hr>
<table>
  <tr>
    <th>no</th>
    <th>name</th>
    <th>location</th>
  </tr>
  {% for dept in depts_list %}
  <tr>
    <td>{{dept.no}}</td>
    <td>{{dept.name}}</td>
    <td>{{dept.location}}</td>
  </tr>
  {% endfor %}
</table>


</body>
</html>